import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

import 'element-ui/lib/theme-chalk/index.css'
import './style/anStyle.scss'

import Element from 'element-ui'
import '@/icons' // icon
import '@/permission' // permission control

// 全局注册 占位符组件
import placeholder from '@/components/Placeholder'
Vue.use(placeholder)

Vue.config.productionTip = false

Vue.use(Element, { size: 'medium' })

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
